home *** CD-ROM | disk | FTP | other *** search
/ PC World 2008 March / PCWorld_2008-03_cd.bin / Audio-video / zoomplayer / zp502std.exe / Skin / Silverchrome Plus / Silverchrome Plus Audio.skn next >
Text File  |  2006-12-21  |  15KB  |  246 lines

  1. SkinData(Name=Silverchrome Plus Audio Skin by Blight & Godwin,Type=Audio)
  2.  
  3. // Set Default Active Groups
  4. ActiveGroups    = (1)
  5. AudioSkin       = (1)
  6.  
  7. // FileName
  8. SkinFileName    = (SilverchromePlus.bmp)
  9.  
  10. // Initial settings:
  11. iWinWidth       = (430)
  12. iWinHeight      = (33)
  13. StartGroup(1)
  14. iMinWidth       = (430)
  15. EndGroup(1)
  16. StartGroup(2)
  17. iMinWidth       = (180)
  18. EndGroup(2)
  19. StartGroup(64,8192)
  20. iMinWidth       = (140)
  21. EndGroup(64,8192)
  22.  
  23. iMinHeight      = (33)
  24. tLineNoText     = (1)
  25. cBarFontHeight  = (35)
  26. cBarFontYOfs    = (-2)
  27. cBarFontFace    = (Tahoma)
  28. cBarFontColor   = (FFFFFF)
  29. cBarFontStyle   = (Bold)
  30. cBarButWidth    = (43)
  31. cBarButHeight   = (60)
  32. cBarRightMargin = (23)
  33. cBarTLWidth     = (<cBarWidth>-15)
  34. cBarTLHeight    = (44)
  35. cBarTLLeft      = (8)
  36. cBarTLTop       = (8)
  37. iTransColor     = (FF0000)
  38. pTransColor     = (FF0000)
  39. cTransColor     = (FF0000)
  40. eTransColor     = (FF0000)
  41.  
  42. // Control Bar TimeLine background source bitmap position
  43. TimeLineCBarFG(324,469,2)
  44. TimeLineCBarBG(342,469,2)
  45. TimeLineCBarEnd(324,469,18)
  46. TimeLineCBarStart(324,425,18)
  47. TimeLineCBarFontShade(606060,606060,707070,303030)
  48.  
  49. // Control Bar Background
  50. TileCBarBitmapH(241,291,9,60,0,0,<cBarFullWidth>)
  51.  
  52. // Right of TimeLine Control Bar Side
  53. /CopyCBarBitmap(214,349,12,35,<cBarWidth>-12,0)
  54. // Left Control Bar Side
  55. CopyCBarBitmap(217,291,23,60,0,0)
  56. // Right Control Bar Side
  57. CopyCBarBitmap(251,291,23,60,<cBarFullWidth>-23,0)
  58.  
  59. // Dynamic settings (items with window-size relative positioning):
  60. tLineHeight     = (9)
  61. tLineTop        = (19)
  62.  
  63. StartGroup(1)
  64. tLineLeft       = (157)
  65. tLineWidth      = (<WinWidth>-254)
  66. DrawExText(DestX=154,DestY=3,Width=<WinWidth>-249,Height=14,Align=Center,FontName=Tahoma,FontSize=11,FontColor=EF3F00,FontStyle=bold,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  67. EndGroup(1)
  68.  
  69. StartGroup(2)
  70. tLineLeft       = (67)
  71. tLineWidth      = (<WinWidth>-104)
  72. DrawExText(DestX=64,DestY=3,Width=<WinWidth>-98,Height=14,Align=Center,FontName=Tahoma,FontSize=11,FontColor=EF3F00,FontStyle=bold,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  73. EndGroup(2)
  74.  
  75. // TimeLine background and foreground source bitmap position
  76. TimeLineFG(286,375,11)
  77. TimeLineBG(286,366,11)
  78. TimeLineStart(274,366,6)
  79. TimeLineEnd(274,375,6)
  80.  
  81. // Background
  82. TileBitmapH(288,237,9,33,0,0,<WinWidth>)
  83.  
  84. // Left/Right Transparency
  85. CopyBitmap(211,351,15,33,0,0)
  86. CopyBitmap(190,318,23,33,<WinWidth>-23,0)
  87.  
  88. // Left/Right Resize
  89. CopyBitmap(274,337,9,22,0,6)
  90. CopyBitmap(283,337,9,22,<WinWidth>-9,6)
  91.  
  92. StartGroup(1,2)
  93. // Left buttons
  94. CreateExButton(Type=Normal,SrcX=214,SrcY=351,Width=30,Height=33,DestX=  3,DestY=0,TransColor=FF0000,Function=fnExit,Hint=Exit Program,Anispeed=10)
  95.  
  96. // Right buttons
  97. CreateExButton(Type=Normal,SrcX=180,SrcY=318,DownX=180,DownY=351,Width=29,Height=33,DestX=<WinWidth>-33,DestY=0,TransColor=FF0000,Function=fnAudioMode,Hint=Switch to Full Display,Anispeed=10)
  98. EndGroup(1,2)
  99.  
  100. StartGroup(1)
  101. // Button Sep
  102. CopyBitmap( 257,384,1,31,153,1)
  103. CopyBitmap(259,384,1,31,<WinWidth>-94,1)
  104.  
  105. // Left buttons
  106. CreateExButton(Type=Normal,SrcX= 0,SrcY=318,Width=30,Height=33,DestX= 33,DestY=0,Function=fnPrevChapter,Hint=Previous Chapter/Track,Anispeed=10)
  107. CreateExButton(Type=Normal,SrcX=60,SrcY=318,Width=30,Height=33,DestX= 63,DestY=0,Function=fnStop,Hint=Stop,Anispeed=10)
  108. CreateExButton(Type=Normal,SrcX=  120,SrcY=318,Activate=Play,ActiveX=0,ActiveY=383,ActiveDownX=30,ActiveDownY=383,Width=30,Height=33,DestX=93,DestY=0,Function=fnPlay,Hint=Play/Pause,Anispeed=10)
  109. CreateExButton(Type=Normal,SrcX= 0,SrcY=351,Width=30,Height=33,DestX= 123,DestY=0,Function=fnNextChapter,Hint=Next Chapter/Track,Anispeed=10)
  110.  
  111. // Right buttons
  112. CreateExButton(Type=Normal,SrcX=120,SrcY=351,Width=30,Height=33,DestX=<WinWidth>-63,DestY=0,Function=fnPlayList,Hint=Playlist Editor,Anispeed=10)
  113. CreateExButton(Type=Normal,SrcX=60,SrcY=351,Activate=Mute,ActiveX=60,ActiveY=383,Width=30,Height=33,DestX=<WinWidth>-93,DestY=0,Function=fnMute,Hint=Mute,Anispeed=10)
  114. EndGroup(1)
  115.  
  116. StartGroup(2)
  117. // Button Sep
  118. CopyBitmap( 257,384,1,31,63,1)
  119. CopyBitmap(259,384,1,31,<WinWidth>-34,1)
  120.  
  121. // Left Buttons
  122. CreateExButton(Type=Normal,SrcX=  120,SrcY=318,Activate=Play,ActiveX=0,ActiveY=383,Width=30,Height=33,DestX=33,DestY=0,Function=fnPlay,Hint=Play/Pause,Anispeed=10)
  123. EndGroup(2)
  124.  
  125. StartGroup(64,8192)
  126. tLineLeft       = (15)
  127. tLineWidth      = (<WinWidth>-30)
  128. DrawExText(DestX=10,DestY=3,Width=<WinWidth>-20,Height=14,Align=Center,FontName=Tahoma,FontSize=11,FontColor=EF3F00,FontStyle=Bold,Text=<TimeLineText>,ShadeBottom=BFBFBF)
  129.  
  130. CopyBitmap(293,337,4,15,14,9)
  131. CopyBitmap(246,384,11,14,<WinWidth>-25,9)
  132. EndGroup(64,8192)
  133.  
  134. // Control Bar Buttons (Order of creation determines the display order within the Control Bar)
  135. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=545,Function=fnPrevChapter,Hint=Previous Chapter/Track,Anispeed=10)
  136. CreateExButton(Type=Normal,Target=CBar,SrcX= 86,SrcY=545,Function=fnRewind,Hint=Rewind,Anispeed=10)
  137. CreateExButton(Type=Normal,Target=CBar,SrcX=  172,SrcY=545,Function=fnStop,Hint=Stop,Anispeed=10)
  138. CreateExButton(Type=Normal,Target=CBar,SrcX= 258,SrcY=545,Activate=Play,ActiveX=258,ActiveY=785,ActiveDownX=301,ActiveDownY=785,Function=fnPlay,Hint=Play / Pause,Anispeed=10)
  139. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=605,Function=fnFastForward,Hint=Fast Forward,Anispeed=10)
  140. CreateExButton(Type=Normal,Target=CBar,SrcX= 86,SrcY=605,Function=fnNextChapter,Hint=Next Chapter/Track,Anispeed=10)
  141. CreateExButton(Type=Normal,Target=CBar,SrcX= 172,SrcY=605,Activate=Mute,ActiveX=215,ActiveY=605,Function=fnmute,Hint=Mute Audio,Anispeed=10)
  142. CreateExButton(Type=Normal,Target=CBar,SrcX=258,SrcY=605,Function=fnAudioTrack,Hint=Next Audio Track,Anispeed=10)
  143. CreateExButton(Type=Normal,Target=CBar,SrcX= 0,SrcY=605,Function=fnDVDSub,Hint=Next Subtitle Track,Anispeed=10)
  144. CreateExButton(Type=Normal,Target=CBar,SrcX=86,SrcY=665,Function=fnFullscreen,Hint=Fullscreen/Restore,Anispeed=10)
  145. CreateExButton(Type=Normal,Target=CBar,SrcX=  172,SrcY=665,Function=fnZoom,Hint=Fullscreen to Zoom,Anispeed=10)
  146. CreateExButton(Type=Normal,Target=CBar,SrcX=258,SrcY=665,Function=fnZoomIn,Hint=Zoom In,Anispeed=10)
  147. CreateExButton(Type=Normal,Target=CBar,SrcX=  0,SrcY=725,Function=fnZoomOut,Hint=Zoom Out,Anispeed=10)
  148. CreateExButton(Type=Normal,Target=CBar,SrcX= 86,SrcY=725,Function=fnOptions,Hint=Options,Anispeed=10)
  149. CreateExButton(Type=Normal,Target=CBar,SrcX=172,SrcY=725,Function=fnEject,Hint=Eject,Anispeed=10)
  150. CreateExButton(Type=Normal,Target=CBar,SrcX=258,SrcY=725,Function=fnPlayList,Hint=Playlist Editor,Anispeed=10)
  151. CreateExButton(Type=Normal,Target=CBar,SrcX=0,SrcY=785,Function=fnOpen,Hint=Open Media,Anispeed=10)
  152. CreateExButton(Type=Normal,Target=CBar,SrcX= 172,SrcY=785,Function=fnExit,Hint=Close Player,Anispeed=10)
  153.  
  154. // Playlist Corners
  155. CopyPLBitmap(0,0,117,25,0,0)
  156. CopyPLBitmap(176,0,58,25,<PLWinWidth>-58,0)
  157. CopyPLBitmap(188,109,23,45,0,<PLWinHeight>-45)
  158. CopyPLBitmap(211,109,23,45,<PLWinWidth>-23,<PLWinHeight>-45)
  159. // Playlist Sides
  160. // Left Bar
  161. TilePLBitmapV(128,25,7,57,0,25,<PLWinHeight>-70)
  162. // Right Bar
  163. TilePLBitmapV(135,25,7,57,<PLWinWidth>-7,25,<PLWinHeight>-70)
  164. // Top Bar
  165. TilePLBitmapH(24,0,90,25,117,0,<PLWinWidth>-174)
  166. // Bottom Bar
  167. TilePLBitmapH(206,109,10,45,23,<PLWinHeight>-45,<PLWinWidth>-46)
  168. // Fill Background behind playlist (important)
  169. FillPLRect(7,24,<PLWinWidth>-14,<PLWinHeight>-59,000000)
  170.  
  171. // Data for the Playlist display
  172. StartGroup(-16777216)
  173. PlayListData(DestX=7,DestY=24,MinWidth=230,MinHeight=150,Width=<PLWinWidth>-14,Height=<PLWinHeight>-59,Border=575757,Background=9F9F9F,Foreground=000000,SelectBG=008FFF,SelectBorder=006FDF,SelectFG=000000,Highlight=FFFFFF,ScrollBG=7F7F7F,ScrollFace=6F6F6F,ScrollDark=5F5F5F,ScrollLight=7F7F7F,ScrollWidth=23,ScrollFGX=274,ScrollFGY=291,ScrollFGW=23,ScrollFGH=46,FontFace=Arial,FontHeight=13,FontSpace=17)
  174.  
  175. CreateExButton(Type=Extended,Target=PlayList,SrcX=0,SrcY=291,Width=27,Height=27,DestX=64,DestY=<PLWinHeight>-32,Function=exGroupToggle,FunctionParam=16777216,Hint=Show Extra Controls,Anispeed=10)
  176. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=237,Width=40,Height=27,DestX=<PLWinWidth>-137,DestY=<PLWinHeight>-32,Function=fnPLAddFiles,Hint=Add Files to Playlist,Anispeed=10)
  177. EndGroup(-16777216)
  178.  
  179. StartGroup(16777216)
  180. PlayListData(DestX=7,DestY=24,MinWidth=511,MinHeight=150,Width=<PLWinWidth>-14,Height=<PLWinHeight>-59,Border=575757,Background=9F9F9F,Foreground=000000,SelectBG=008FFF,SelectBorder=006FDF,SelectFG=000000,Highlight=FFFFFF,ScrollBG=7F7F7F,ScrollFace=6F6F6F,ScrollDark=5F5F5F,ScrollLight=7F7F7F,ScrollWidth=23,ScrollFGX=274,ScrollFGY=291,ScrollFGW=23,ScrollFGH=46,FontFace=Arial,FontHeight=13,FontSpace=17)
  181.  
  182. // Bottom Buttons
  183. CreateExButton(Type=Normal,Target=PlayList,SrcX=54,SrcY=210,Width=27,Height=27,DestX= 93,DestY=<PLWinHeight>-32,ActiveX=54,ActiveY=291,ActiveDownX=81,ActiveDownY=291,Activate=LoopPlay,Function=fnLoopPlay,Hint=Loop Current Track,Anispeed=10)
  184. CreateExButton(Type=Normal,Target=PlayList,SrcX=  0,SrcY=237,Width=40,Height=27,DestX= 122,DestY=<PLWinHeight>-32,Function=fnPLAddFiles,Hint=Add Files to Playlist,Anispeed=10)
  185. CreateExButton(Type=Normal,Target=PlayList,SrcX=80,SrcY=237,Width=40,Height=27,DestX=164,DestY=<PLWinHeight>-32,Function=fnPLAddDir,Hint=Add Directory to Playlist,Anispeed=10)
  186. CreateExButton(Type=Normal,Target=PlayList,SrcX= 160,SrcY=237,Width=40,Height=27,DestX=206,DestY=<PLWinHeight>-32,Function=fnPLRemove,Hint=Remove Selected Items,Anispeed=10)
  187. CreateExButton(Type=Normal,Target=PlayList,SrcX= 0,SrcY=264,Width=40,Height=27,DestX=248,DestY=<PLWinHeight>-32,Function=fnPLClear,Hint=Clear Playlist,Anispeed=10)
  188. CreateExButton(Type=Normal,Target=PlayList,SrcX=  80,SrcY=264,Width=40,Height=27,DestX=290,DestY=<PLWinHeight>-32,Function=fnPLLoadList,Hint=Load Playlist,Anispeed=10)
  189. CreateExButton(Type=Normal,Target=PlayList,SrcX=160,SrcY=264,Width=40,Height=27,DestX=332,DestY=<PLWinHeight>-32,Function=fnPLSaveList,Hint=Save Playlist,Anispeed=10)
  190. CreateExButton(Type=Normal,Target=PlayList,SrcX=216,SrcY=183,Width=40,Height=27,DestX=374,DestY=<PLWinHeight>-32,Function=fnPLSort,Hint=Sort Playlist,Anispeed=10)
  191. CreateExButton(Type=Extended,Target=PlayList,SrcX=162,SrcY=210,Width=27,Height=27,DestX=64,DestY=<PLWinHeight>-32,Function=exGroupToggle,FunctionParam=16777216,Hint=Hide Extra Controls,Anispeed=10)
  192. EndGroup(16777216)
  193.  
  194. CreateExButton(Type=Normal,TransColor=FF0000,Target=PlayList,SrcX= 0,SrcY=210,Width=27,Height=27,DestX=6,DestY=<PLWinHeight>-32,ActiveX=108,ActiveY=291,ActiveDownX=135,ActiveDownY=291,Activate=PLMagnet,Function=fnPLMagToggle,Hint=Magnetic Hard Docking,Anispeed=10)
  195. CreateExButton(Type=Normal,Target=PlayList,SrcX=108,SrcY=210,Width=27,Height=27,DestX=35,DestY=<PLWinHeight>-32,ActiveX=162,ActiveY=291,ActiveDownX=189,ActiveDownY=291,Activate=RandomPlay,Function=fnRandomPlay,Hint=Random Play,Anispeed=10)
  196. CreateExButton(Type=Normal,Target=PlayList,SrcX=  216,SrcY=210,Width=40,Height=27,DestX=<PLWinWidth>- 95,DestY=<PLWinHeight>-32,Function=fnPLControl,Hint=Open Advanced Controls,Anispeed=10)
  197. CreateExButton(Type=Normal,Target=PlayList,SrcX=240,SrcY=237,Width=24,Height=27,DestX=<PLWinWidth>- 53,DestY=<PLWinHeight>-32,Function=fnPLItemUp,Hint=Move Selected Items Up,Anispeed=10)
  198. CreateExButton(Type=Normal,TransColor=FF0000,Target=PlayList,SrcX=240,SrcY=264,Width=24,Height=27,DestX=<PLWinWidth>- 30,DestY=<PLWinHeight>-32,Function=fnPLItemDown,Hint=Move Selected Items Down,Anispeed=10)
  199.  
  200. // Top Right Buttons
  201. CreateExButton(Type=Normal,Target=Playlist,SrcX=206,SrcY= 25,DownX=206,DownY=44,Width=28,Height=19,DestX=<PLWinWidth>- 34,DestY=6,TransColor=FF00FF,Function=fnPlayList,Hint=Close Playlist Editor,Anispeed=10)
  202. CreateExButton(Type=Normal,Target=Playlist,SrcX=  142,SrcY=63,Width=26,Height=19,DestX=<PLWinWidth>- 61,DestY=6,Function=fnPLMax,Hint=Maximize Window,Anispeed=10)
  203.  
  204. // Top Button separator
  205. CopyPLBitmap(118,6,4,19,<PLWinWidth>-64,6)
  206. // Item Counter
  207. DrawExText(Target=PlayList,DestX=10,DestY=7,Width=<PLWinWidth>-152,Height=15,Align=Center,FontName=Tahoma,FontSize=13,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListItems>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=303030)
  208. // Duration Separator
  209. CopyPLBitmap(118,6,4,19,<PLWinWidth>-139,6)
  210. // Total Duration Display
  211. DrawExText(Target=PlayList,DestX=<PLWinWidth>-136,DestY=7,Width=70,Height=15,Align=Right,FontName=Tahoma,FontSize=13,FontColor=FFFFFF,FontStyle=Bold,Text=<PlayListTotal>,ShadeLeft=808080,ShadeRight=808080,ShadeBottom=303030)
  212.  
  213. // Expanded resize area due to round corners
  214. ResizePLBox(0,0,12,12,3)
  215. ResizePLBox(<PLWinWidth>-12,0,12,12,2)
  216. ResizePLBox(0,<PLWinHeight>-12,12,12,1)
  217. ResizePLBox(<PLWinWidth>-12,<PLWinHeight>-12,12,12,0)
  218.  
  219. // EQ - Fixed size, no size constants required
  220. EQData(Width=360,Height=158,BarX=0,BarY=425,BarW=12,BarH=120,BarC=27,BarPX=18,BarPY=12,Bar0X=49,Bar0Y=12,Bar1X=73,Bar1Y=12,Bar2X=97,Bar2Y=12,Bar3X=121,Bar3Y=12,Bar4X=145,Bar4Y=12,Bar5X=169,Bar5Y=12,Bar6X=193,Bar6Y=12,Bar7X=217,Bar7Y=12,Bar8X=241,Bar8Y=12,Bar9X=265,Bar9Y=12)
  221. FillEQRect(0,0,360,158,606060)
  222. CopyEQBitmap(306,845,10,10,0,0)
  223. CopyEQBitmap(334,845,10,10,360-10,0)
  224. CopyEQBitmap(306,860,10,10,0,158-10)
  225. CopyEQBitmap(334,860,10,10,360-10,158-10)
  226. TileEQBitmapH(315,845,16,7,10,0,360-20)
  227. TileEQBitmapH(315,863,16,7,10,158-7,360-20)
  228. TileEQBitmapV(306,853,7,8,0,10,158-20)
  229. TileEQBitmapV(337,853,7,8,360-7,10,158-20)
  230. CopyEQBitmap(0,416,17,9,16,136)
  231. CopyEQBitmap(19,416,11,9,50,136)
  232. CopyEQBitmap(31,416,16,9,71,136)
  233. CopyEQBitmap(48,416,15,9,96,136)
  234. CopyEQBitmap(64,416,17,9,119,136)
  235. CopyEQBitmap(81,416,9,9,147,136)
  236. CopyEQBitmap(345,575,12,9,170,136)
  237. CopyEQBitmap(345,584,11,9,194,136)
  238. CopyEQBitmap(345,593,15,9,216,136)
  239. CopyEQBitmap(345,602,15,9,240,136)
  240. CopyEQBitmap(345,611,15,9,266,136)
  241. CreateExButton(Type=Normal,Target=EQ,SrcX=  0,SrcY=845,Width=51,Height=25,DestX=299,DestY= 12,Function=fnEQEditor,Hint=Select/Edit Equalizer Profiles,Anispeed=10)
  242. CreateExButton(Type=Normal,Target=EQ,SrcX= 102,SrcY=845,Width=51,Height=25,DestX=299,DestY= 42,Function=fnEQReset,Hint=Reset Equalizer,Anispeed=10)
  243. CreateExButton(Type=Normal,Target=EQ,SrcX=204,SrcY=845,Width=51,Height=25,DestX=299,DestY=121,Function=fnEqualizer,Hint=Close Equalizer,Anispeed=10)
  244. CreateExButton(Type=Normal,Target=EQ,SrcX=324,SrcY=513,DownX=324,DownY=513,Width=36,Height=16,DestX=299,DestY= 74,DownX=261,DownY=119,ActiveX=261,ActiveY=384,ActiveDownX=212,ActiveDownY=401,Activate=EQState,Function=fnEQToggle,Hint=Enable/Disable the Equalizer,Anispeed=10)
  245. CreateExButton(Type=Normal,Target=EQ,SrcX=324,SrcY=529,DownX=324,DownY=529,Width=36,Height=16,DestX=299,DestY= 98,DownX=261,DownY=135,ActiveX=261,ActiveY=400,Activate=EQMagnet,Function=fnEQMagToggle,Hint=Magnetic Hard Docking,Anispeed=10)
  246.